#ifndef DATAMANAGER_H
#define DATAMANAGER_H

#include <QString>
#include "myPoint.h"

class DataManager
{
public:
    DataManager();
    ~DataManager();
    static DataManager* inst();

    QString getString(int x, int y);
    bool checkRow(int rowIndex, const myPoint& resPoint, QList<myPoint> &);
    bool checkCol(int colIndex, const myPoint& resPoint, QList<myPoint> &);
    bool checkGroup(const myPoint& resPoint, QList<myPoint> &);

    bool autoFillBlanks();

private:
    static DataManager* m_inst;
};

#endif // DATAMANAGER_H
